package com.itheima.service;

import com.itheima.dao.AnnouncementDao;
import com.itheima.domain.Announcement;
import com.itheima.domain.Answer;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpSession;
import java.util.List;

@Transactional
public interface AnnouncementService {
    void save(Announcement announcement);

    Announcement getAnnouncement();

}
